home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
utilities
/
utility_02
/
convrters2
/
!WMF->Draw
/
!Help
next >
Wrap
Text File
|
1996-03-03
|
8KB
|
272 lines
CAREWARE
BETA TEST VERSION.
!WMF->Draw Version 1.8a Readme.
THIS PROGRAM IS CAREWARE IS IS NOT PUBLIC DOMAIN
~~~
The following have written permission to reproduce this software on
their respective Careware disks :-
Norwich Computer Services : Careware Disks
Alex Bar (Furth Germany ): German Careware Disks
They will also be supplied with updates.
The Author will also upload it to Careware sections on Arcade and NCS bbs.
From which it maybe downloaded.
It may NOT be uploaded by anyone other than the Author.
It may NOT be reproduced by any other means ( other than above )
without written consent of the author.
Arcade and NCS do NOT have authority to authorise copying by any means other than
above.
Acknowledgements
~~~~~~~~~~~~~~~~
Thanks to following for suppling some test cases.
Brian Cowan, Keith Milner, Ian Roberts, Vic.
Last updated
~~~~~~~~~~~~
Application : 2nd March 1996
Documentation : 2nd March 1996
!WMF->Draw is a Utility for converting Windows Metafiles to Draw
This version supports only a subset of Windows Metafile Graphics orders.
If you have files that will not convert please contact the Author as I
am always interested in new test cases and in expanding the program. If
possible please supply small diagram with the problem as these are a
lot easier to debug.
Installation
~~~~~~~~~~~~
The WMF->Draw arc file should have been restored to a directory named
!WMF->Draw. Which should contain the following files :-
!Run : WMF->Draw Startup file.
!Sprites : WMF->Draw Application Sprites
Templates : Template files
wmfdraw : WMF->Draw Application.
~~config : Configuration file for WMF->Draw.
!Help : This file.
Tailoring.
~~~~~~~~~~
The !run file should be altered to suite your requirements :-
Modules required :-
The Shared C Library should be loaded as appropriate for
your setup. The supplied !run file assumes that the C
shared library module is in !system.modules.
The Floating Point Emulator should be loaded as appropriate for
your setup. The supplied !run file assumes that the FPEmulator
module is in !system.modules.
Variables required :-
WMFDraw$Dir is required in order for WMF->Draw to find its various
configuration files.
Storage required :-
!WMF->Draw has been tested with a wimpslot size of 160k
on a machine with 32k pages. lower values may be possible
on machines with smaller page sizes.
The file to be converted is loaded into a buffer claimed from
the next slot. The space is return immediately after the conversion,
so you should not be able to see the change.
If !WMF->Draw prompts that it does not have enough memory to process,
then !WMF->Draw must be restarted, having made provision that
the next slot is large enough.
Operation.
~~~~~~~~~~
1) First click on the !WMF->Draw icon. This will install the !WMF->Draw
icon on the icon bar.
2) To convert a WMF file (or EPS file with WMF preview section),
drag the file to the !WMF->Draw icon on the icon bar.
This will popup a save Draw window. Drag the Draw
file icon to the required destination.
Windows BMP Files
~~~~~~~~~~~~~~~~~
As WMF files may contain objects with BMP bitmaps a side effect of
!WMF->Draw is that BMP files maybe converted to a Draw file containing
a sprite. The BMP files must be of type 0x69C.
Control Options
~~~~~~~~~~~~~~~
Direct Link
-----------
Rather than have !WMF->Draw prompt for the target file, it is possible
to set a default path and have the target name created as default path
plus filename. To do this you drag the Draw file icon to the target
directory or application and set the Direct option. With the direct
option set the output Draw file will automatically be created.
Note if you use this option sensibly with an application then the
receiving application must support the Draw file type.
Current Restrictions
~~~~~~~~~~~~~~~~~~~~
WMF related
----------
Only a subset of Graphics orders currently supported.
Config File
~~~~~~~~~~~
The format of the config file is
List of Draw fonts
## terminator
List of WMF fonts with corresponding Draw font number
Font baseline Percentage
i.e if baseline is at 20% of font height input 20.
Baseline for Default font is hardcoded 20%
WMF File type
~~~~~~~~~~~~~~~~
The WMF file type is 412
Copyright & Contributions
~~~~~~~~~~~~~~~~~~~~~~~~~
This software carries no warranty, either express or implied.
I can not guarantee that it is free of bugs or give any warranty
about itæs suitability for use.
The status of !WMF->Draw is Careware.
Permission is granted to Norwich Computer Services to reproduce
!WMF->Draw on Careware disks.
The software will be uploaded to Careware sections on Arcade
Bulletin Boards, it may only be uploaded by the author.
It may not be uploaded by anybody else or to any other board.
This software may NOT be distributed by public domain libraries.
If you did not obtain the software from a Careware disk or by subscription
to one of the Bulletin Board Careware sections.
( i.e. You obtained it from a friend who does, say. )
Then please send a contribution to either
Heatherley Cheshire Home
Effingham Lane,
Copthorne,
Sussex.
RH10 3HS.
Registered Charity Number : 218186
The software may not otherwise be copied or distributed without
the Authors written permission.
Copyright remains solely the authors. (C) Keith Sloan
Contact
~~~~~~~
If you find problems or want to make suggestions for improvements then
please contact me at either of the following.
Internet : keiths@cix.compulink.co.uk
Wanted
~~~~~~
In the interest of enhancing this enhance this application I
would like to obtain the following :-
Sample WMF files that fail to convert correctlty
Many Thanks
Version History.
~~~~~~~~~~~~~~~~
Beta 1.0 : Version supplied to M Roscoe.
Beta 1.1 : 3rd Jan 1993
Converts all sample WMF files at present.
Beta 1.2 : 5th Jan 1993
Fixes for text output and use of config file
Beta 1.3 : 29th Jan 1993
Some bit maps operations supported.
Beta 1.4 : 4th April 1993
Fix for default font height.
support WMF Preview section of EPS files
Beta 1.5 : 6th April 1993
Fix for padding in text.
support loading of BMP files.
1.6 : 7th Feb 1995
fix for polypolgon
allow for base line in font alignment
1.7/1.7a : 28th Jan 1996
set text alignment supported.
Only allow for baseline in text with descenders ( 1.7a)
1.8 : 2nd March 1996
Allow for GDI 0x0105 ( Undocumented in 2 books )
Allow for corrupted files i.e. avoid abend when length
exceeds remaining available bytes.
Fix PolyPolygon to address values.
Remove debugging info on buffer expansion.
Fix path bounding box.
1.8a : Fix flex bug introduced in 1.8